/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __4C6753F9_63ED_4b4c_A3BF_6E1436FE78FC__
#define __4C6753F9_63ED_4b4c_A3BF_6E1436FE78FC__

#include "../tools/head.h"

namespace xos_sqlite
{

    class sqlite_impl : public xos_stl::mem_item< xos::release_impl< sqlite_impl >, thread_lock >,
		public i_sqlite
    {
    public:
        typedef xos::release_impl< sqlite_impl > T;

    public:
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //
        static int get_xos_item_data( ITEM_DATA*& item_ptr );
        
    public:
        sqlite_impl();
        ~sqlite_impl();

    public:
        int init();
        int term();

    };

} // xos_sqlite

#endif // __4C6753F9_63ED_4b4c_A3BF_6E1436FE78FC__
